<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function bar (a,...args) {
            console.log(args)
            console.log(a)
        }
        bar(54,2,5,7,3)

    </script>
</body>
</html>